gtk4.git
22 years agoTypo fix.
Matthias Clasen [Sun, 9 Nov 2003 23:18:44 +0000 (23:18 +0000)]
Typo fix.

22 years agoIf neither load nor begin_load are available fall back to load_animation
Matthias Clasen [Sun, 9 Nov 2003 22:08:33 +0000 (22:08 +0000)]
If neither load nor begin_load are available fall back to load_animation

Sun Nov  9 23:07:05 2003  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): If neither
load nor begin_load are available fall back to load_animation
and use gdk_pixbuf_animation_get_static_image() to obtain a
pixbuf. Inefficient, but at least doesn't crash.

22 years agoNew function to write out the information for a single loader, factored
Matthias Clasen [Sun, 9 Nov 2003 21:07:31 +0000 (21:07 +0000)]
New function to write out the information for a single loader, factored

Sun Nov  9 21:56:20 2003  Matthias Clasen  <maclas@gmx.de>

* queryloaders.c (write_loader_info): New function to write
out the information for a single loader, factored out of
query_module().
(loader_sanity_check): New function to perform
sanity checks on a loader.
(query_module): Use the new functions.

22 years agominor fix
Hasbullah Bin Pit [Sun, 9 Nov 2003 18:40:02 +0000 (18:40 +0000)]
minor fix

22 years agoUpdated Malay translation.
Hasbullah Bin Pit [Sun, 9 Nov 2003 14:49:40 +0000 (14:49 +0000)]
Updated Malay translation.

2003-11-09  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated Malay translation.

22 years agoCall the do_ functions with the toplevel as argument.
Matthias Clasen [Sat, 8 Nov 2003 22:08:05 +0000 (22:08 +0000)]
Call the do_ functions with the toplevel as argument.

Sat Nov  8 23:06:02 2003  Matthias Clasen  <maclas@gmx.de>

* demos/gtk-demo/main.c (row_activated_cb): Call the do_
functions with the toplevel as argument.

* demos/gtk-demo/geninclude.pl.in: Change the signature
of GDoDemoFunc to take a widget argument

* demos/gtk-demo/ui_manager.c (do_ui_manager):
* demos/gtk-demo/tree_store.c (do_tree_store):
* demos/gtk-demo/textview.c (do_textview):
* demos/gtk-demo/stock_browser.c (do_stock_browser):
* demos/gtk-demo/sizegroup.c (do_sizegroup):
* demos/gtk-demo/pixbufs.c (do_pixbufs):
* demos/gtk-demo/panes.c (do_panes):
* demos/gtk-demo/menus.c (do_menus):
* demos/gtk-demo/list_store.c (do_list_store):
* demos/gtk-demo/images.c (do_images):
* demos/gtk-demo/hypertext.c (do_hypertext):
* demos/gtk-demo/editable_cells.c (do_editable_cells):
* demos/gtk-demo/drawingarea.c (do_drawingarea):
* demos/gtk-demo/dialog.c (do_dialog):
* demos/gtk-demo/colorsel.c (do_colorsel):
* demos/gtk-demo/changedisplay.c (do_changedisplay):
* demos/gtk-demo/button_box.c (do_button_box):
* demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
as argument, and make new windows or dialogs appear on the
same screen.  (#80388)

22 years agoLet visible-window default to TRUE, as documented and implemented.
Matthias Clasen [Sat, 8 Nov 2003 21:01:14 +0000 (21:01 +0000)]
Let visible-window default to TRUE, as documented and implemented.

Sat Nov  8 21:59:30 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkeventbox.c (gtk_event_box_class_init): Let
visible-window default to TRUE, as documented and
implemented. (#126270 Damon Chaplin)

22 years agoMark as 2.4 additions.
Matthias Clasen [Sat, 8 Nov 2003 00:51:10 +0000 (00:51 +0000)]
Mark as 2.4 additions.

Sat Nov  8 01:50:17 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkicontheme.c:
* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new):
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new):
* gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
2.4 additions.

22 years agoChanging GtkFileChooserEntry to use GtkEntryCompletion.
Federico Mena Quintero [Fri, 7 Nov 2003 23:10:19 +0000 (23:10 +0000)]
Changing GtkFileChooserEntry to use GtkEntryCompletion.

2003-11-07  Federico Mena Quintero  <federico@ximian.com>

Changing GtkFileChooserEntry to use GtkEntryCompletion.

* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create
a GtkListStore for the completion list.  Create a
GtkEntryCompletion and attach it to the chooser entry.
(gtk_file_chooser_entry_finalize): Unref the completion store.
(completion_match_func): New callback for the GtkEntryCompletion.
(completion_idle_callback): Fill the completion store with filenames.

22 years agoMake string setters safe for self-assignment. (#122745, Soeren Sandmann)
Matthias Clasen [Fri, 7 Nov 2003 21:57:20 +0000 (21:57 +0000)]
Make string setters safe for self-assignment. (#122745, Soeren Sandmann)

Fri Nov  7 22:55:49 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwindow.c (gtk_window_set_role):
* gtk/gtkwindow.c (gtk_window_set_title):
* gtk/gtkwidget.c (gtk_widget_set_name):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title):
* gtk/gtkbutton.c (gtk_button_set_label): Make string setters
safe for self-assignment.  (#122745, Soeren Sandmann)

22 years agoTranslation ported from gnome-2-4 branch. Go iawn. Blydi cnaf CVS.
Dafydd Harries [Fri, 7 Nov 2003 17:04:40 +0000 (17:04 +0000)]
Translation ported from gnome-2-4 branch. Go iawn. Blydi cnaf CVS.

22 years agoFix doc comment. (#126369, Olexiy Avramchenko)
Matthias Clasen [Thu, 6 Nov 2003 19:42:39 +0000 (19:42 +0000)]
Fix doc comment. (#126369, Olexiy Avramchenko)

Thu Nov  6 20:41:40 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkstyle.c (gtk_style_attach): Fix doc comment.
(#126369, Olexiy Avramchenko)

22 years agoUpdated Serbian translation.
Danilo Šegan [Thu, 6 Nov 2003 12:04:09 +0000 (12:04 +0000)]
Updated Serbian translation.

2003-11-06  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Updated Serbian translation.

22 years agoFold two similar strings into on. (#126204, Danilo Segan)
Matthias Clasen [Wed, 5 Nov 2003 23:28:53 +0000 (23:28 +0000)]
Fold two similar strings into on. (#126204, Danilo Segan)

Thu Nov  6 00:27:27 2003  Matthias Clasen  <maclas@gmx.de>

* io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar
strings into on.  (#126204, Danilo Segan)

22 years agoImprove the consistency of titles. (#126193, Damon Chaplin)
Matthias Clasen [Wed, 5 Nov 2003 23:23:05 +0000 (23:23 +0000)]
Improve the consistency of titles. (#126193, Damon Chaplin)

Thu Nov  6 00:21:41 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcolorbutton.c (gtk_color_button_init):
* gtk/gtkfontbutton.c (gtk_font_button_init): Improve the
consistency of titles.  (#126193, Damon Chaplin)

22 years agoSet torn off menus to be transient for the toplevel they were torn off
Matthias Clasen [Wed, 5 Nov 2003 21:50:51 +0000 (21:50 +0000)]
Set torn off menus to be transient for the toplevel they were torn off

Wed Nov  5 22:49:36 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off
menus to be transient for the toplevel they were torn off from.
(gtk_menu_get_toplevel): Auxiliary function to find the
toplevel of a menu.  (#54775, Jon-Kare Hellan)

22 years agofix icon sizes
cinamod [Wed, 5 Nov 2003 21:19:13 +0000 (21:19 +0000)]
fix icon sizes

22 years agoAdd readonly properties min-position and max-position. (#58431, Padraig
Matthias Clasen [Wed, 5 Nov 2003 20:15:19 +0000 (20:15 +0000)]
Add readonly properties min-position and max-position. (#58431, Padraig

Wed Nov  5 21:07:58 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties
min-position and max-position.  (#58431, Padraig O'Briain)

22 years agoChange the ranges for Saturation and Value to be 0-100 instead of 0-255,
Matthias Clasen [Wed, 5 Nov 2003 20:05:47 +0000 (20:05 +0000)]
Change the ranges for Saturation and Value to be 0-100 instead of 0-255,

Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcolorsel.c (update_color):
(make_label_spinbutton):
(adjustment_changed): Change the ranges for Saturation and
Value to be 0-100 instead of 0-255, since these axes of HSV
are usually expressed in percent.  (#121519, Gregory Merchan)
Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcolorsel.c (update_color):
(make_label_spinbutton):
(adjustment_changed): Change the ranges for Saturation and
Value to be 0-100 instead of 0-255, since these axes of HSV
are usually expressed in percent.  (#121519, Gregory Merchan)

22 years agomenubars now have shadow=NONE
cinamod [Wed, 5 Nov 2003 17:47:36 +0000 (17:47 +0000)]
menubars now have shadow=NONE

22 years agoscrollbar steppers are now ETCHED_IN
cinamod [Wed, 5 Nov 2003 15:10:27 +0000 (15:10 +0000)]
scrollbar steppers are now ETCHED_IN

22 years agoMore 2.x updates
GMT 2003 Tony Gale [Wed, 5 Nov 2003 08:53:07 +0000 (08:53 +0000)]
More 2.x updates

Wed Nov  5 08:51:48 GMT 2003  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: More 2.x updates

22 years agowin32 color scheme work
cinamod [Tue, 4 Nov 2003 21:59:26 +0000 (21:59 +0000)]
win32 color scheme work

22 years agoTranslation ported from gnome-2-4 branch.
Dafydd Harries [Tue, 4 Nov 2003 19:01:30 +0000 (19:01 +0000)]
Translation ported from gnome-2-4 branch.

22 years agoUpdated Serbian translation.
Danilo Šegan [Tue, 4 Nov 2003 16:46:30 +0000 (16:46 +0000)]
Updated Serbian translation.

2003-11-04  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Updated Serbian translation.

22 years agoMore 2.x updates, fix pkg-config command error, update copyright.
GMT 2003 Tony Gale [Tue, 4 Nov 2003 15:02:56 +0000 (15:02 +0000)]
More 2.x updates, fix pkg-config command error, update copyright.

Tue Nov  4 15:00:33 GMT 2003  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: More 2.x updates, fix
        pkg-config command error, update copyright.

22 years agoAdded missing files. Updated Swedish translation.
Christian Rose [Tue, 4 Nov 2003 13:10:48 +0000 (13:10 +0000)]
Added missing files. Updated Swedish translation.

2003-11-04  Christian Rose  <menthos@menthos.com>

* POTFILES.in: Added missing files.
* sv.po: Updated Swedish translation.

22 years agoTake in a path as well. Use a helper function. (shortcuts_append_home):
Federico Mena Quintero [Tue, 4 Nov 2003 01:56:56 +0000 (01:56 +0000)]
Take in a path as well. Use a helper function. (shortcuts_append_home):

2003-11-03  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (error_dialog): Take in a path as
well.  Use a helper function.
(shortcuts_append_home): Display an error box if necessary.
(shortcuts_append_desktop): Likewise.
(add_bookmark_button_clicked_cb): Likewise.
(gtk_file_chooser_default_select_path): Likewise.
(entry_activate): Likewise.
(shortcuts_append_paths): New helper function.
(shortcuts_append_file_system_roots): Use
shortcuts_append_paths().
(shortcuts_append_bookmarks): Likewise.

22 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Mon, 3 Nov 2003 23:15:02 +0000 (23:15 +0000)]
Dutch translation updated by Tino Meinen.

2003-11-04   Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Dutch translation updated by Tino Meinen.

22 years agoSome leftover cleanups.
Matthias Clasen [Mon, 3 Nov 2003 22:13:24 +0000 (22:13 +0000)]
Some leftover cleanups.

22 years agoAdd G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. Forgot this
Matthias Clasen [Mon, 3 Nov 2003 21:46:51 +0000 (21:46 +0000)]
Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. Forgot this

Mon Nov  3 22:45:58 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwindow-decorate.h: Add G_BEGIN_DECLS/G_END_DECLS to make
these usable in C++. Forgot this file in my Oct 11 commit.

22 years agoAdd gtk/gtkactiongroup.c
Matthias Clasen [Mon, 3 Nov 2003 21:44:23 +0000 (21:44 +0000)]
Add gtk/gtkactiongroup.c

Mon Nov  3 22:41:08 2003  Matthias Clasen  <maclas@gmx.de>

* POTFILES.in: Add gtk/gtkactiongroup.c

22 years agoAdded gtkfilechooser.c, gtkfilechooserdefault.c, gtkfilesystemmodel.c,
Federico Mena Quintero [Mon, 3 Nov 2003 20:46:16 +0000 (20:46 +0000)]
Added gtkfilechooser.c, gtkfilechooserdefault.c, gtkfilesystemmodel.c,

2003-11-03  Federico Mena Quintero  <federico@ximian.com>

* POTFILES.in: Added gtkfilechooser.c, gtkfilechooserdefault.c,
gtkfilesystemmodel.c, gtkfilesystemunix.c.

22 years agoAdd a stock icon to the "Add bookmark" button.
Federico Mena Quintero [Mon, 3 Nov 2003 20:24:04 +0000 (20:24 +0000)]
Add a stock icon to the "Add bookmark" button.

2003-11-03  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock
icon to the "Add bookmark" button.

* gtk/gtkfilesystemunix.c: Mark missing strings for translation.
* gtk/gtkfilesystemmodel.c: Likewise.
* gtk/gtkfilechooser.c: Likewise.
* gtk/gtkfilechooserdefault.c: Likewise.

Mon Nov  3 20:56:28 2003  Matthias Clasen  <maclas@gmx.de>

22 years agoIntroduce a GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2
Matthias Clasen [Mon, 3 Nov 2003 20:10:34 +0000 (20:10 +0000)]
Introduce a GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2

Mon Nov  3 20:56:28 2003  Matthias Clasen  <maclas@gmx.de>

* gdk/gdk.c:
* gdk/gdkinternals.h:
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): Introduce a
GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2
Xinerama mode when no actual Xinerama setup is found.

22 years agoFix a residual call to gtk_window_get_private().
Owen Taylor [Mon, 3 Nov 2003 19:41:03 +0000 (19:41 +0000)]
Fix a residual call to gtk_window_get_private().

Sat Nov  1 12:41:04 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_unfullscreen): Fix a
        residual call to gtk_window_get_private().

22 years agoRemoved. (create_shortcuts_tree): Don't call the above.
Federico Mena Quintero [Mon, 3 Nov 2003 18:46:18 +0000 (18:46 +0000)]
Removed. (create_shortcuts_tree): Don't call the above.

2003-11-03  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (shortcuts_select_folder): Removed.
(create_shortcuts_tree): Don't call the above.
(bookmarks_changed_cb): Likewise.
(tree_selection_changed): Unselect everything from the shortcuts
list.  This is the behavior that Mac OS has.
(toolbar_add_item): Return the item.
(toolbar_create): Store the up_button in the impl structure.
(toolbar_check_sensitivity): New function to set the sensitivity
of the "Up" button in the toolbar.
(tree_selection_changed): Call toolbar_check_sensitivity().

22 years agoDo not set a border width for the toplevel container. (toolbar_create):
Federico Mena Quintero [Mon, 3 Nov 2003 00:50:33 +0000 (00:50 +0000)]
Do not set a border width for the toplevel container. (toolbar_create):

2003-11-02  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Do
not set a border width for the toplevel container.
(toolbar_create): New function; create a simple toolbar for the
file chooser.
(gtk_file_chooser_default_constructor): Use a spacing of 12 for
the table, as per the HIG.
(gtk_file_chooser_default_init): Likewise, for the default
implementation's vbox.

* gtk/gtkfilesystem.c (gtk_file_system_get_parent): Added docs to
note that NULL is a valid return value for the parent path.

22 years agoUpdated the Greek translation
Kostas Papadimas [Sun, 2 Nov 2003 16:24:31 +0000 (16:24 +0000)]
Updated the Greek translation

22 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sun, 2 Nov 2003 11:14:40 +0000 (11:14 +0000)]
Updated Norwegian Nynorsk translation.

2003-11-02  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

22 years agoChange on activation, not selection change (temporary workaround for
Owen Taylor [Sat, 1 Nov 2003 20:17:37 +0000 (20:17 +0000)]
Change on activation, not selection change (temporary workaround for

Sat Nov  1 14:59:27 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilechooserdefault.c (shortcuts_row_activated):
        Change on activation, not selection change (temporary
        workaround for #125955, needed for keynav, likely
        the right UI anyways.)

        * gtk/gtkfilechooserdefault.c (shortcuts_select_func):
        Don't allow the separator node to be selected.

        * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_constructor):
        Set the focus chain so that the entry gets focused first.
        (Not really right after initial focusing, maybe we
        should just have a gtk_file_chooser_focus_entry() that
        we call from gtk_file_chooser_dialog on creation.)

22 years agoscrollbar grippers
Raymond Penners [Sat, 1 Nov 2003 15:28:25 +0000 (15:28 +0000)]
scrollbar grippers

22 years agoUpdated German translation.
Christian Neumair [Fri, 31 Oct 2003 11:09:48 +0000 (11:09 +0000)]
Updated German translation.

22 years agoUpdate Norwegian translation.
Kjartan Maraas [Fri, 31 Oct 2003 09:17:10 +0000 (09:17 +0000)]
Update Norwegian translation.

2003-10-31  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Update Norwegian translation.

22 years agodelete this function (toolbar_item_is_homogeneous): cache
Soeren Sandmann [Fri, 31 Oct 2003 02:10:03 +0000 (02:10 +0000)]
delete this function (toolbar_item_is_homogeneous): cache

Fri Oct 31 02:43:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (get_item_requisition): delete this function
(toolbar_item_is_homogeneous): cache max_homogeneous_pixels
instead of re-calculating for each item.
(gtk_toolbar_size_allocate): Update comments

22 years agoOnly include placeholders when include_internals is TRUE.
Soeren Sandmann [Thu, 30 Oct 2003 22:39:11 +0000 (22:39 +0000)]
Only include placeholders when include_internals is TRUE.

Thu Oct 30 22:04:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_forall): Only include
placeholders when include_internals is TRUE.

22 years agoMake it work even when item 0 is a placeholder. (#125826) add an assertion
Soeren Sandmann [Thu, 30 Oct 2003 17:08:49 +0000 (17:08 +0000)]
Make it work even when item 0 is a placeholder. (#125826) add an assertion

Thu Oct 30 17:57:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (logical_to_physical): Make it work even when
item 0 is a placeholder. (#125826)
* tests/testtoolbar.c: add an assertion that
gtk_toolbar_get_nth_item (0) != NULL

22 years agoMake it work for logical == 0.
Soeren Sandmann [Thu, 30 Oct 2003 16:50:11 +0000 (16:50 +0000)]
Make it work for logical == 0.

Thu Oct 30 17:40:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (logical_to_physical): Make it work for
logical == 0.

22 years agoMake sure we actually return the index of a real item. (get_nth_item)
Soeren Sandmann [Thu, 30 Oct 2003 15:30:24 +0000 (15:30 +0000)]
Make sure we actually return the index of a real item. (get_nth_item)

Thu Oct 30 16:20:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually
return the index of a real item.
(get_nth_item) assert that the returned items is not a
placeholder.  (#125826, Marco Pesenti Gritti).

22 years agoOnly paint a separator if the text is NULL, rather than also doing it if
Federico Mena Quintero [Wed, 29 Oct 2003 23:10:57 +0000 (23:10 +0000)]
Only paint a separator if the text is NULL, rather than also doing it if

2003-10-29  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkcellrendererseptext.c
(gtk_cell_renderer_sep_text_render): Only paint a separator if the
text is NULL, rather than also doing it if it is an empty string.

22 years agoAllow NULL for message_format, as described in the docs and as worked
Owen Taylor [Wed, 29 Oct 2003 20:43:58 +0000 (20:43 +0000)]
Allow NULL for message_format, as described in the docs and as worked

Wed Oct 29 15:40:26 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmessagedialog.c (gtk_message_dialog_new/
        gtk_message_dialog_new_with_format): Allow NULL
        for message_format, as described in the docs and
        as worked previously. (#125759, Richard Hult)

        * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
        Use g_markup_vprintf_escaped() to escape argumetns.

        * gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup()
        so there is some way to set literal markup.

22 years agoMove the call to gdk_error_trap_pop() to the right place, fixing a problem
Owen Taylor [Wed, 29 Oct 2003 20:05:40 +0000 (20:05 +0000)]
Move the call to gdk_error_trap_pop() to the right place, fixing a problem

Wed Oct 29 15:01:32 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move
        the call to gdk_error_trap_pop() to the right place,
        fixing a problem where we'd pop() too many times
        when bailing out. (#123302, Thomas Leonard)

22 years agoFix infinite recursion. (#125679, Christian Persch)
Owen Taylor [Wed, 29 Oct 2003 17:53:56 +0000 (17:53 +0000)]
Fix infinite recursion. (#125679, Christian Persch)

Wed Oct 29 12:50:02 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilechooserutils.c (delegate_set_current_folder):
        Fix infinite recursion. (#125679, Christian Persch)

22 years agofurther 2.x updates: mirrors,compiling,g_main_context_iteration
GMT 2003 Tony Gale [Wed, 29 Oct 2003 13:31:21 +0000 (13:31 +0000)]
further 2.x updates: mirrors,compiling,g_main_context_iteration

Wed Oct 29 13:29:15 GMT 2003  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: further 2.x updates:
        mirrors,compiling,g_main_context_iteration

22 years agoUpdated Norwegian Nynorsk translation. Resolved a number of CVS conflicts.
Åsmund Skjæveland [Wed, 29 Oct 2003 12:37:13 +0000 (12:37 +0000)]
Updated Norwegian Nynorsk translation. Resolved a number of CVS conflicts.

2003-10-29  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation. Resolved a number
of CVS conflicts.

22 years agoAdd this function; remove gtk_toolbar_highlight_drop_location() and
Soeren Sandmann [Wed, 29 Oct 2003 01:58:38 +0000 (01:58 +0000)]
Add this function; remove gtk_toolbar_highlight_drop_location() and

Wed Oct 29 02:54:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this
function; remove gtk_toolbar_highlight_drop_location() and
gtk_toolbar_unhighlight_drop_location().

Also fix bug where the number of overflowed items were miscounted.

22 years agoRemove some accidentally committed duplicate code.
Owen Taylor [Tue, 28 Oct 2003 17:30:03 +0000 (17:30 +0000)]
Remove some accidentally committed duplicate code.

Tue Oct 28 12:20:16 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_has_toplevel_focus): Remove
        some accidentally committed duplicate code.

22 years agoUpdate info on compiling GTK+
GMT 2003 Tony Gale [Tue, 28 Oct 2003 17:07:45 +0000 (17:07 +0000)]
Update info on compiling GTK+

Tue Oct 28 17:06:17 GMT 2003  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: Update info on compiling GTK+

22 years agoAdd getters corresponding to the is_active and has_toplevel_focus
Owen Taylor [Tue, 28 Oct 2003 15:43:43 +0000 (15:43 +0000)]
Add getters corresponding to the is_active and has_toplevel_focus

Tue Oct 28 10:34:24 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.[ch] (gtk_window_is_active,
        gtk_has_toplevel_focus): Add getters corresponding to
        the is_active and has_toplevel_focus properties.
        (#122531)

22 years agohook up the destroy handler. (gtk_expander_destroy),
Mark McLoughlin [Tue, 28 Oct 2003 15:32:21 +0000 (15:32 +0000)]
hook up the destroy handler. (gtk_expander_destroy),

2003-10-28  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtkexpander.c:
        (gtk_expander_class_init): hook up the destroy handler.
        (gtk_expander_destroy), (gtk_expander_unrealize):
        remove the expand/collapse timeout on destroy instead
        of unrealize to avoid leaving the expander in a inconsistent
        state when unrealizing during animation.
        (gtk_expander_start_animation): remove realized check.
        (gtk_expander_set_expanded): if the widget isn't realized,
        expand immediately.

22 years agoSilently do nothing when recipient is NULL, as described in the doc
Owen Taylor [Tue, 28 Oct 2003 14:48:31 +0000 (14:48 +0000)]
Silently do nothing when recipient is NULL, as described in the doc

Tue Oct 28 09:44:16 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
        do nothing when recipient is NULL, as described in the
        doc comment. (#123107, Thomas Leonard)

22 years agoMove docs inline, rewrite docs, mention memory management for the return
Owen Taylor [Tue, 28 Oct 2003 14:23:28 +0000 (14:23 +0000)]
Move docs inline, rewrite docs, mention memory management for the return

Tue Oct 28 09:21:29 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmain.c (gtk_check_version): Move docs inline,
        rewrite docs, mention memory management for the return
        value. (Partly addresses #125549, Michael Natterer)

22 years agoChangew index to filter_index to fix compilation error.
Padraig O'Briain [Tue, 28 Oct 2003 14:13:01 +0000 (14:13 +0000)]
Changew index to filter_index to fix compilation error.

2003-10-28  Padraig O'Briain  <padraig.obriain@sun.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Changew index to filter_index to fix compilation error.

* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.

22 years ago#include <X11/extensions/Xrandr.h> if we have RandR support, for
Manish Singh [Mon, 27 Oct 2003 23:50:34 +0000 (23:50 +0000)]
#include <X11/extensions/Xrandr.h> if we have RandR support, for

Mon Oct 27 15:47:58 2003  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if
        we have RandR support, for XRRUpdateConfiguration declaration.

        * gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch
        declaration.

        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make
        length a gsize variable, since that's what g_file_get_contents()
        expects.

22 years agoshut up cvs
Manish Singh [Mon, 27 Oct 2003 23:41:12 +0000 (23:41 +0000)]
shut up cvs

22 years agoFix attribution for above/below EWMH work.
Owen Taylor [Mon, 27 Oct 2003 17:19:51 +0000 (17:19 +0000)]
Fix attribution for above/below EWMH work.

Mon Oct 27 12:18:49 2003  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Fix attribution for above/below EWMH work.

22 years agoUpdated Japanese translation.
KAMAGASAKO Masatoshi [Mon, 27 Oct 2003 15:52:55 +0000 (15:52 +0000)]
Updated Japanese translation.

2003-10-28  KAMAGASAKO Masatoshi  <emerald@gnome.gr.jp>

* ja.po: Updated Japanese translation.

22 years agoAdd "name" as a construct-only property. (#125475, Murray Cumming)
Matthias Clasen [Sat, 25 Oct 2003 21:34:24 +0000 (21:34 +0000)]
Add "name" as a construct-only property. (#125475, Murray Cumming)

Sat Oct 25 23:30:13 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.c (gtk_action_group_class_init): Add "name"
as a construct-only property.  (#125475, Murray Cumming)

22 years agoAdd bug numbers to ChangeLog
Soeren Sandmann [Sat, 25 Oct 2003 20:30:54 +0000 (20:30 +0000)]
Add bug numbers to ChangeLog

Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

Fix bug 116297 and 125472

* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
this function take an index and a GtkToolItem.

* tests/testtoolbar.c (main): Make "Show Arrow" default to
true. Make one of the separators !draw and expand.
Update for new highlight_drop_location() API.

* gtk/gtktoolitem.[ch]: Remove "pack_end" property

* gtk/gtktoolbar.h: Formatting fixes.

* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
separator tool items to expand.
(logical_to_physical, physical_to_logical): Fix off-by-one errors
(Fix #125472, Marco Pesenti Gritti)

* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
return FALSE, not TRUE.
(gtk_separator_too_item_{set|get}_property,
(gtk_separator_tool_item_{set|get}_draw): new functions

22 years agoBroken pipe
Søren Sandmann Pedersen [Sat, 25 Oct 2003 19:59:31 +0000 (19:59 +0000)]
Broken pipe

22 years agoMake this function take an index and a GtkToolItem.
Soeren Sandmann [Sat, 25 Oct 2003 19:58:51 +0000 (19:58 +0000)]
Make this function take an index and a GtkToolItem.

Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
this function take an index and a GtkToolItem.

* tests/testtoolbar.c (main): Make "Show Arrow" default to
true. Make one of the separators !draw and expand.
Update for new highlight_drop_location() API.

* gtk/gtktoolitem.[ch]: Remove "pack_end" property

* gtk/gtktoolbar.h: Formatting fixes.

* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
separator tool items to expand.
(logical_to_physical, physical_to_logical): Fix off-by-one errors
(Fix #125472, Marco Pesenti Gritti)

* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
return FALSE, not TRUE.
(gtk_separator_too_item_{set|get}_property,
(gtk_separator_tool_item_{set|get}_draw): new functions

22 years ago=== Released 2.3.0 ===
Owen Taylor [Fri, 24 Oct 2003 22:16:07 +0000 (22:16 +0000)]
=== Released 2.3.0 ===

Fri Oct 24 16:54:04 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.0 ===

        * configure.in: Remove a stray comma.

        * README.in: Fix a few notes about Xft 1 and pango-1.0.

        * NEWS: Finish updates for 2.3.0.

        * po/Makefile.in.in: Update to latest GLib version.

22 years agoRelicense to be dual AFL/LGPL (and thus also GPL) rather than AFL/GPL.
Owen Taylor [Fri, 24 Oct 2003 20:03:37 +0000 (20:03 +0000)]
Relicense to be dual AFL/LGPL (and thus also GPL) rather than AFL/GPL.

Fri Oct 24 16:02:32 2003  Owen Taylor  <otaylor@redhat.com>

        * *.[ch]: Relicense to be dual AFL/LGPL (and thus also
        GPL) rather than AFL/GPL. Also update AFL version to 1.2.

22 years agoFix licensing (I managed to put it under GPL licensing instead of
Kristian Rietveld [Fri, 24 Oct 2003 18:36:55 +0000 (18:36 +0000)]
Fix licensing (I managed to put it under GPL licensing instead of

Fri Oct 24 20:31:35 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch],
gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it
under GPL licensing instead of LGPL...). (Fixes #125381, Soeren
Sandmann).

22 years agoadd padding to the class structure.
Kristian Rietveld [Fri, 24 Oct 2003 18:26:13 +0000 (18:26 +0000)]
add padding to the class structure.

Fri Oct 24 20:22:40 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelfilter.h: add padding to the class structure.

22 years agoFixed docs. (gtk_file_chooser_remove_filter): Likewise.
Federico Mena Quintero [Thu, 23 Oct 2003 23:02:38 +0000 (23:02 +0000)]
Fixed docs. (gtk_file_chooser_remove_filter): Likewise.

2003-10-23  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooser.c (gtk_file_chooser_get_preview_uri): Fixed docs.
(gtk_file_chooser_remove_filter): Likewise.
(gtk_file_chooser_select_all): Added docs.
(gtk_file_chooser_unselect_all): Likewise.

* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): Added docs.

* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): Added docs.

22 years agoAdded the text for the initial section, and descriptions for the signals
Federico Mena Quintero [Thu, 23 Oct 2003 22:59:34 +0000 (22:59 +0000)]
Added the text for the initial section, and descriptions for the signals

2003-10-23  Federico Mena Quintero  <federico@ximian.com>

* gtk/tmpl/gtkfilechooser.sgml: Added the text for the initial
section, and descriptions for the signals and enumerations.

* gtk/tmpl/gtkfilechooserdialog.sgml: Added the text for the
initial section, and a short example.

* gtk/tmpl/gtkfilechooserwidget.sgml: Added the text for the
initial section.

22 years agoAdd short descriptions.
Matthias Clasen [Thu, 23 Oct 2003 22:26:39 +0000 (22:26 +0000)]
Add short descriptions.

Fri Oct 24 00:25:07 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkfilefilter.sgml:
* gtk/tmpl/gtkfilechooser.sgml:
* gtk/tmpl/gtkfilechooserwidget.sgml:
* gtk/tmpl/gtkfilechooserdialog.sgml: Add short descriptions.

22 years agoAdd "Since: 2.4" to all API doc comments.
Matthias Clasen [Thu, 23 Oct 2003 21:22:58 +0000 (21:22 +0000)]
Add "Since: 2.4" to all API doc comments.

Thu Oct 23 23:22:15 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilefilter.c:
* gtk/gtkfilechooser.c: Add "Since: 2.4" to all API doc comments.

22 years agoMove GtkCombo and GtkOptionMenu to the "Deprecated" chapter. Add
Matthias Clasen [Thu, 23 Oct 2003 20:44:13 +0000 (20:44 +0000)]
Move GtkCombo and GtkOptionMenu to the "Deprecated" chapter. Add

Thu Oct 23 22:41:02 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-docs.sgml: Move GtkCombo and GtkOptionMenu to
the "Deprecated" chapter. Add GtkFileChooser, GtkFileChooserDialog,
GtkFileChooseWidget and GtkFileFilter.

* gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup.

22 years agoUpdates.
Matthias Clasen [Thu, 23 Oct 2003 19:49:54 +0000 (19:49 +0000)]
Updates.

22 years agoAdded gtk_file_chooser_get_type, gtk_file_chooser_dialog_get_type,
Federico Mena Quintero [Thu, 23 Oct 2003 19:47:13 +0000 (19:47 +0000)]
Added gtk_file_chooser_get_type, gtk_file_chooser_dialog_get_type,

2003-10-23  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtk.types: Added gtk_file_chooser_get_type,
gtk_file_chooser_dialog_get_type,
gtk_file_chooser_widget_get_type, gtk_file_filter_get_type.

* gtk/gtk-sections.txt: Added GtkFileChooser,
GtkFileChooserWidget, GtkFileChooserDialog, GtkFileFilter.

* gtk/Makefile.am (IGNORE_HFILES): Added gtkcellrendererseptext.h,
gtkfilechooserdefault.h, gtkfilechooserentry.h,
gtkfilechooserutils.h, gtkfilesystem.h, gtkfilesystemmodel.h,
gtkfilesystemunix.h.

* gtk/tmpl/gtkfilechooser.sgml: New template file.

* gtk/tmpl/gtkfilechooserdialog.sgml: Likewise.

* gtk/tmpl/gtkfilechooserwidget.sgml: Likewise.

* gtk/tmpl/gtkfilefilter.sgml: Likewise.

22 years agoUpdates for 2.3.0; changed header to match the style we used for 2.1.0.
Kristian Rietveld [Thu, 23 Oct 2003 19:19:07 +0000 (19:19 +0000)]
Updates for 2.3.0; changed header to match the style we used for 2.1.0.

Thu Oct 23 21:12:50 2003  Kristian Rietveld  <kris@gtk.org>

* NEWS: Updates for 2.3.0; changed header to match the style we used
for 2.1.0.

22 years agoActually assign the new leader. (#125168, Mariano Suarez-Alvarez)
Matthias Clasen [Thu, 23 Oct 2003 18:50:40 +0000 (18:50 +0000)]
Actually assign the new leader. (#125168, Mariano Suarez-Alvarez)

Thu Oct 23 20:47:44 2003  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Actually
assign the new leader.  (#125168, Mariano Suarez-Alvarez)

22 years agoFix includes.
Kristian Rietveld [Thu, 23 Oct 2003 18:25:53 +0000 (18:25 +0000)]
Fix includes.

Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.

22 years ago0.5.1
Raymond Penners [Thu, 23 Oct 2003 18:00:10 +0000 (18:00 +0000)]
0.5.1

22 years agoupdate xp_theme_defs
cinamod [Thu, 23 Oct 2003 14:20:27 +0000 (14:20 +0000)]
update xp_theme_defs

22 years agoPartial update for 2.3.0.
Soeren Sandmann [Thu, 23 Oct 2003 13:15:55 +0000 (13:15 +0000)]
Partial update for 2.3.0.

Thu Oct 23 15:13:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* NEWS: Partial update for 2.3.0.

22 years agoConvert GtkOptionMenu to GtkComboBox.
Owen Taylor [Thu, 23 Oct 2003 05:10:47 +0000 (05:10 +0000)]
Convert GtkOptionMenu to GtkComboBox.

Thu Oct 23 01:09:04 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilechooserdefault.c: Convert GtkOptionMenu to
        GtkComboBox.

22 years agocvsignore updates
Owen Taylor [Thu, 23 Oct 2003 04:31:28 +0000 (04:31 +0000)]
cvsignore updates

22 years agogtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework
Owen Taylor [Thu, 23 Oct 2003 04:22:32 +0000 (04:22 +0000)]
gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework

Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch]
        gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
        gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
        Basic framework for the new file selector widget.

        * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch]
        gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
        Initial implementation of the GtkFileChooser user interface.

        * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
        for Unix files.

        * configure.in gtk/Makefile.am gtk/xdgmime: Build code
        for freedesktop.org MIME system on Unix.

        * tests/testfilechooser.c: Test program for GtkFileChooser

        * tests/prop-editor.c: Add support for properties on interfaces.

22 years agoFix some unused variables.
Owen Taylor [Thu, 23 Oct 2003 03:20:54 +0000 (03:20 +0000)]
Fix some unused variables.

Tue Oct 21 16:12:51 2003  Owen Taylor  <otaylor@redhat.com>

        * demos/gtk-demo/menus.c (do_menus): Fix some unused
        variables.

        * gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
        variable warning

22 years agoRenamed from GtkFileChooserImplDefault to GtkFileChooserDefault.
Federico Mena Quintero [Thu, 23 Oct 2003 00:26:15 +0000 (00:26 +0000)]
Renamed from GtkFileChooserImplDefault to GtkFileChooserDefault.

2003-10-22  Federico Mena Quintero  <federico@ximian.com>

* gtkfilechooserdefault.[ch]: Renamed from
GtkFileChooserImplDefault to GtkFileChooserDefault.

22 years agoUpdate NEWS for 2.3.0
Matthias Clasen [Wed, 22 Oct 2003 22:05:35 +0000 (22:05 +0000)]
Update NEWS for 2.3.0

22 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Wed, 22 Oct 2003 19:00:17 +0000 (19:00 +0000)]
Dutch translation updated by Tino Meinen.

2003-10-22   Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Dutch translation updated by Tino Meinen.

22 years agoMore code formatting
Raymond Penners [Wed, 22 Oct 2003 18:41:02 +0000 (18:41 +0000)]
More code formatting

22 years agoCode formatting
Raymond Penners [Wed, 22 Oct 2003 18:25:50 +0000 (18:25 +0000)]
Code formatting

22 years agoset ctrl_pressed and shift_pressed according to the current event state
Kristian Rietveld [Tue, 21 Oct 2003 20:19:14 +0000 (20:19 +0000)]
set ctrl_pressed and shift_pressed according to the current event state

Tue Oct 21 22:07:12 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_real_move_cursor): set
ctrl_pressed and shift_pressed according to the current event
state (if there is one). (Fixes #125063, reported by Sebastien Bacher).

22 years agouse more XP style functions
cinamod [Tue, 21 Oct 2003 18:51:29 +0000 (18:51 +0000)]
use more XP style functions

22 years agoFree the info itself.
Federico Mena Quintero [Tue, 21 Oct 2003 01:06:30 +0000 (01:06 +0000)]
Free the info itself.

2003-10-20  Federico Mena Quintero  <federico@ximian.com>

* gtkfilesystem.c (gtk_file_info_free): Free the info itself.

* gtkfilechooserimpldefault.c (shortcuts_insert_path): Free the
GtkFileInfo.